import React from 'react'
import ReactDOM from 'react-dom'

import Comment from './views/评论案例带事件/index'
import Comment2 from './views/评论案例静态模板/index'
class App extends React.Component {
  render () {
    return (
      <div>
        <h1>静态页面</h1>
        <Comment2></Comment2>
        <h1>可以交互的页面</h1>
        <Comment></Comment>
      </div>
    )
  }
}

// 渲染组件
ReactDOM.render(<App />, document.getElementById('root'))
